﻿#ifndef SYS_DIR_DEF_H
#define SYS_DIR_DEF_H

#include "../sys_h/DATATYPE.h"
#include "../sys_h/DATATYPE_S.h"
#include "../sys_h/SYS_VER.h"
#include "../qstring_ex/qstringex.h"
#include <QObject>

#define SYSTEM_DIR_SYS					                0x00000000       //系统路径
#define SYSTEM_DIR_BIN                                  0x01000000       //BIN根目录
#define SYSTEM_DIR_BIN_WIN			                    0x01010000       //WIN下的BIN目录
#define SYSTEM_DIR_BIN_LNX		                        0x01020000       //LNX下的BIN目录
#define SYSTEM_DIR_RES                                  0x02000000       //Res根目录
#define SYSTEM_DIR_APP                                  0x03000000       //APP根目录
#define SYSTEM_DIR_APP_WIN		                        0x03010000       //WIN下的APP目录
#define SYSTEM_DIR_APP_LNX		                        0x03020000       //LNX下的APP目录
#define SYSTEM_DIR_SM_FILE                              0x04000000       //SM_FILE根目录
#define SYSTEM_DIR_S_LOG                                0x05000000       //日志根目录
#define SYSTEM_DIR_L_ZIP                                0x06000000       //ZIP文件根目录
#define SYSTEM_DIR_L_ZIP_WIN                            0x06010000       //WIN下ZIP文件目录
#define SYSTEM_DIR_L_ZIP_LNX                            0x06020000       //LNX下ZIP文件目录
#define SYSTEM_DIR_SYS_PARA                             0x07000000       //系统参数根目录
#define SYSTEM_DIR_SYS_PARA_61850	                    0x07010000       //61850参数目录
#define SYSTEM_DIR_SYS_PARA_SYS			                0x07020000       //系统参数目录
#define SYSTEM_DIR_SYS_PARA_FILE		                0x07030000       //文件参数目录
#define SYSTEM_DIR_SYS_PARA_GRAPH		                0x07040000       //画面参数目录
#define SYSTEM_DIR_SYS_PARA_DSN			                0x07050000       //DSN参数目录
#define SYSTEM_DIR_SYS_PARA_OTHER		                0x07060000       //其他参数目录
#define SYSTEM_DIR_REPORT			                    0x08000000       //报表目录
#define SYSTEM_DIR_WF_OPT			                    0x08010000       //操作票目录
#define SYSTEM_DIR_GRAPH			                    0x09000000       //画面文件目录
#define SYSTEM_DIR_GRAPH_CIMG		                    0x09010000       //画面CIMG文件目录
#define SYSTEM_DIR_GRAPH_CIMSVG		                    0x09020000       //画面CIMSVG文件目录
#define SYSTEM_DIR_GRAPH_WEBSVG		                    0x09030000       //画面WEBSVG文件目录
#define SYSTEM_DIR_GRAPH_BROWSESVG		                0x09040000		 //画面BROWSESVG文件目录
#define SYSTEM_DIR_COM                                  0x0A000000       //系统工具根目录
#define SYSTEM_DIR_COM_WIN								0x0A010000       //WIN下的系统工具目录
#define SYSTEM_DIR_COM_LNX								0x0A020000       //LNX下的系统工具目录
#define SYSTEM_DIR_LB_FILE				                0x0B000000       //录波目录
#define SYSTEM_DIR_VQC_FILE				                0x0D000000       //VQC参数文件
#define SYSTEM_DIR_SEQ_FILE			                    0x0E000000       //流程文件
#define SYSTEM_DIR_OCX_FILE			                    0x0F000000       //控件文件
#define SYSTEM_DIR_KEY_FILE			                    0x10000000       //密钥文件
#define SYSTEM_DIR_CREATKEY_FILE			            0x11000000       //原始序列文件
#define SYSTEM_DIR_ZNGJ_FILE		                    0x20000000       //智能告警文件
#define SYSTEM_DIR_ZNGJ_MODEL_FILE	                    0x20010000       //智能告警模板文件
#define SYSTEM_DIR_ZNGJ_ZSK_FILE	                    0x20020000       //智能告警知识库文件

#define SYSTEM_DIR_NSA3000T_MAXCOUNT    		        39
#define SYSTEM_DIR_NSA3000T_STR_MAXCOUNT    		    100

static XUINT SYSTEM_DIR_VAL[SYSTEM_DIR_NSA3000T_MAXCOUNT]=
							{SYSTEM_DIR_SYS,
							 SYSTEM_DIR_BIN,
							 SYSTEM_DIR_BIN_WIN,
							 SYSTEM_DIR_BIN_LNX,
							 SYSTEM_DIR_RES,
							 SYSTEM_DIR_APP,
							 SYSTEM_DIR_APP_WIN,
							 SYSTEM_DIR_APP_LNX,
							 SYSTEM_DIR_SM_FILE,
                             SYSTEM_DIR_S_LOG,
                             SYSTEM_DIR_L_ZIP,
						     SYSTEM_DIR_L_ZIP_WIN,
							 SYSTEM_DIR_L_ZIP_LNX,
                             SYSTEM_DIR_SYS_PARA,
                             SYSTEM_DIR_SYS_PARA_61850,
                             SYSTEM_DIR_SYS_PARA_SYS,
							 SYSTEM_DIR_SYS_PARA_FILE,
							 SYSTEM_DIR_SYS_PARA_GRAPH,
							 SYSTEM_DIR_SYS_PARA_DSN,
							 SYSTEM_DIR_SYS_PARA_OTHER,
							 SYSTEM_DIR_REPORT,
							 SYSTEM_DIR_WF_OPT,
							 SYSTEM_DIR_GRAPH,
							 SYSTEM_DIR_GRAPH_CIMG,
							 SYSTEM_DIR_GRAPH_CIMSVG,
							 SYSTEM_DIR_GRAPH_WEBSVG,
							 SYSTEM_DIR_GRAPH_BROWSESVG,
                             SYSTEM_DIR_COM,
                             SYSTEM_DIR_COM_WIN,
                             SYSTEM_DIR_COM_LNX,
							 SYSTEM_DIR_LB_FILE,
							 SYSTEM_DIR_VQC_FILE,
							 SYSTEM_DIR_SEQ_FILE,
							 SYSTEM_DIR_OCX_FILE,
							 SYSTEM_DIR_KEY_FILE,
							 SYSTEM_DIR_CREATKEY_FILE,
							 SYSTEM_DIR_ZNGJ_FILE,
							 SYSTEM_DIR_ZNGJ_MODEL_FILE,
							 SYSTEM_DIR_ZNGJ_ZSK_FILE
};

static XCHAR SYSTEM_DIR_VAL_NAME[SYSTEM_DIR_NSA3000T_MAXCOUNT][SYSTEM_DIR_NSA3000T_STR_MAXCOUNT]=
							{"SYSTEM_DIR_SYS",
							"SYSTEM_DIR_BIN",
							"SYSTEM_DIR_BIN_WIN",
							"SYSTEM_DIR_BIN_LNX",
							"SYSTEM_DIR_RES",
							"SYSTEM_DIR_APP",
							"SYSTEM_DIR_APP_WIN",
							"SYSTEM_DIR_APP_LNX",
							"SYSTEM_DIR_SM_FILE",
							"SYSTEM_DIR_S_LOG",
							"SYSTEM_DIR_L_ZIP",
							"SYSTEM_DIR_L_ZIP_WIN",
							"SYSTEM_DIR_L_ZIP_LNX",
							"SYSTEM_DIR_SYS_PARA",
							"SYSTEM_DIR_SYS_PARA_61850",
							"SYSTEM_DIR_SYS_PARA_SYS",
							"SYSTEM_DIR_SYS_PARA_FILE",
							"SYSTEM_DIR_SYS_PARA_GRAPH",
							"SYSTEM_DIR_SYS_PARA_DSN",
							"SYSTEM_DIR_SYS_PARA_OTHER",
							"SYSTEM_DIR_REPORT",
							"SYSTEM_DIR_WF_OPT",
							"SYSTEM_DIR_GRAPH",
							"SYSTEM_DIR_GRAPH_CIMG",
							"SYSTEM_DIR_GRAPH_CIMSVG",
							"SYSTEM_DIR_GRAPH_WEBSVG",
							"SYSTEM_DIR_GRAPH_BROWSESVG",
							"SYSTEM_DIR_COM",
							"SYSTEM_DIR_COM_WIN",
							"SYSTEM_DIR_COM_LNX",
							"SYSTEM_DIR_LB_FILE",
							"SYSTEM_DIR_VQC_FILE",
							"SYSTEM_DIR_SEQ_FILE",
							"SYSTEM_DIR_OCX_FILE",
							"SYSTEM_DIR_KEY_FILE",
							"SYSTEM_DIR_CREATKEY_FILE",
							"SYSTEM_DIR_ZNGJ_FILE",
							"SYSTEM_DIR_ZNGJ_MODEL_FILE",
							"SYSTEM_DIR_ZNGJ_ZSK_FILE"
							};

static XCHAR SYSTEM_DIR_CH_STR[SYSTEM_DIR_NSA3000T_MAXCOUNT][SYSTEM_DIR_NSA3000T_STR_MAXCOUNT]=
                        {"系统根目录",
                         "BIN根目录",
                         "WIN下的BIN目录",
                         "LNX下的BIN目录",
                         "Res根目录",
                         "APP根目录",
                         "WIN下的APP目录",
                         "LNX下的APP目录",
                         "SM_FILE根目录",
                         "日志根目录",
                         "ZIP文件根目录",
						 "WIN下ZIP文件目录",
						 "LNX下ZIP文件目录",
                         "系统参数根目录",
						 "61850参数目录",
						 "系统参数目录",
						 "文件参数目录",
						 "画面参数目录",
						 "DSN参数目录",
						 "其他参数目录",
						 "报表目录",
						 "操作票目录",
						 "画面文件目录",
						 "画面CIMG文件目录",
						 "画面CIMSVG文件目录",
						 "画面WEBSVG文件目录",
						 "画面远程流览SVG文件目录",
						 "系统工具根目录",
						 "WIN下的系统工具目录",
						 "LNX下的系统工具目录",
						 "录波目录",
						 "VQC参数文件",
						 "流程文件",
						 "控件文件",
						 "密钥文件",
						 "原始序列文件",
						 "智能告警文件",
						 "智能告警模板文件",
						 "智能告警知识库文件"
};

static XCHAR SYSTEM_DIR_EN_STR[SYSTEM_DIR_NSA3000T_MAXCOUNT][SYSTEM_DIR_NSA3000T_STR_MAXCOUNT]=
                        {"NSA3000T",
                         "bin",
                         "bin/win",
                         "bin/lnx",
                         "res",
                         "app",
                         "app/win",
                         "app/lnx",
                         "sm_file",
                         "s_log",
                         "l_zip",
						 "l_zip/win",
						 "l_zip/lnx",
                         "sys_para",
                         "sys_para/61850",
                         "sys_para/sys",
						 "sys_para/file",
						 "sys_para/graph",
						 "sys_para/dsn",
						 "sys_para/other",
						 "report",
						 "operatetable",
						 "graph",
						 "graph/cimg",
						 "graph/cimsvg",
						 "graph/websvg",
						 "graph/browsesvg",
                         "com",
                         "com/win",
                         "com/lnx",
						 "lb_file",
						 "vqc_file",
						 "seq",
						 "ocx",
						 "key",
						 "creatkey",
						 "zngj_file",
						 "zngj_file/model",
						 "zngj_file/zsk"
};

#endif // SYS_DIR_DEF_H


